Skip to content

laurent: add support for controlling USB power #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 18, 2025

Conversation

lumag
Copy link
Collaborator

@lumag lumag commented Feb 21, 2025

It is possible to use Laurent relays to control USB mode, e.g. by attaching the relay to the onboard DIP switch on RB1 / RB2 boards. Extend the driver to support such configurations.

If the cdba failed to find the board, don't call device_fastboot_open().

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Don't make PPPS path exclusive to the driver USB control. Allow both to
be used at the same time in case the setup uses both PPPS-hubs and
driver-specific control.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Extend laurent driver, allowing using a relay to control USB circuits.
For example, the relay might be connected to the DIP switch on RB1 / RB2
boards.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Copy link
Member

@superna9999 superna9999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase

@superna9999 superna9999 merged commit 30c30ce into linux-msm:master Mar 18, 2025
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants